========================================
GSPy: The GoldSim-Python Bridge
Version: 1.8.9
========================================
2026-01-23 18:01:23 - DEBUG: GSPy called with MethodID: 2
2026-01-23 18:01:23 - INFO: Reporting version to GoldSim: 1.8.9
2026-01-23 18:01:23 - DEBUG: GSPy called with MethodID: 3
2026-01-23 18:01:23 - --- Initializing Python Manager ---
2026-01-23 18:01:23 - DEBUG: Reading config file: C:\Users\JasonLillywhite\GoldSim\GTGData - Documents\Library\Software Features\DLLs and Scripts\PythonDLL\gspy\examples\LookupTable Tests\GSPy_314.json
2026-01-23 18:01:23 - DEBUG: Config file opened successfully.
2026-01-23 18:01:23 - DEBUG: Config file parsed successfully.
2026-01-23 18:01:23 - INFO: Config read successfully.
2026-01-23 18:01:23 - INFO: Python interpreter is not initialized. Initializing now...
2026-01-23 18:01:23 - DEBUG: Using python_path from config: C:\Users\JasonLillywhite\AppData\Local\Programs\Python\Python314
2026-01-23 18:01:23 - DEBUG: Initializing NumPy C-API...
2026-01-23 18:01:23 - DEBUG: NumPy C-API initialized successfully.
2026-01-23 18:01:23 - DEBUG: Adding current directory to Python sys.path...
2026-01-23 18:01:23 - DEBUG: Current directory added to path.
2026-01-23 18:01:23 - DEBUG: Script path from config: lookup_table_script.py
2026-01-23 18:01:23 - DEBUG: Function name from config: process_data
2026-01-23 18:01:23 - DEBUG: Attempting to import Python module: lookup_table_script
2026-01-23 18:01:23 - DEBUG: Module imported successfully.
2026-01-23 18:01:23 - DEBUG: Attempting to get function 'process_data' from module...
2026-01-23 18:01:23 - DEBUG: Function found successfully.
2026-01-23 18:01:23 - --- Python Manager initialization successful ---
2026-01-23 18:01:23 - DEBUG: GetNumberOfInputs calculated a total of: 1
2026-01-23 18:01:23 - DEBUG: GetNumberOfOutputs calculated a total of: 1600
2026-01-23 18:01:23 - DEBUG: GSPy called with MethodID: 0
2026-01-23 18:01:23 - --- Initializing Python Manager ---
2026-01-23 18:01:23 - INFO: Python interpreter is already initialized.
2026-01-23 18:01:23 - --- Python Manager initialization successful ---
2026-01-23 18:01:23 - DEBUG: GSPy called with MethodID: 1
2026-01-23 18:01:23 - INFO: --- Executing Calculation Cycle ---
2026-01-23 18:01:23 - DEBUG: Preparing 1 input argument(s) for Python.
2026-01-23 18:01:23 - DEBUG:   Input #0: Type='scalar'
2026-01-23 18:01:23 - DEBUG: Calling Python function...
2026-01-23 18:01:23 - INFO: --- Python: Generating 1D, 2D, and 3D Lookup Tables (input_scalar = 2.6) ---
2026-01-23 18:01:23 - DEBUG: 1D Table - Rows: 5
2026-01-23 18:01:23 - DEBUG: 1D Table - Data shape: (5,)
2026-01-23 18:01:23 - DEBUG: 1D Table - Row labels: [  0.  26.  52.  78. 104.]
2026-01-23 18:01:23 - DEBUG: 1D Table - Data: [ 2.6 10.4 23.4 41.6 65. ]
2026-01-23 18:01:23 - DEBUG: 2D Table - Rows: 4, Cols: 3
2026-01-23 18:01:23 - DEBUG: 2D Table - Data shape: (4, 3)
2026-01-23 18:01:23 - DEBUG: 2D Table - Row labels: [0.  2.6 5.2 7.8]
2026-01-23 18:01:23 - DEBUG: 2D Table - Col labels: [1 2 3]
2026-01-23 18:01:23 - DEBUG: 3D Table - Rows: 3, Cols: 2, Layers: 4
2026-01-23 18:01:23 - DEBUG: 3D Table - Data shape: (3, 2, 4)
2026-01-23 18:01:23 - DEBUG: 3D Table - Row labels: [26. 52. 78.]
2026-01-23 18:01:23 - DEBUG: 3D Table - Col labels: [3.6 4.6]
2026-01-23 18:01:23 - DEBUG: 3D Table - Layer labels: [100. 200. 300. 400.]
2026-01-23 18:01:23 - INFO: --- All lookup tables generated successfully ---
2026-01-23 18:01:23 - DEBUG: Python call successful. Processing 3 result(s).
2026-01-23 18:01:23 - DEBUG:   Output #0: Type='table'
2026-01-23 18:01:23 - --- LookupTableManager: Marshalling Python Lookup Table to GoldSim ---
2026-01-23 18:01:23 - DEBUG:   Marshalling 1D Lookup Table.
2026-01-23 18:01:23 - DEBUG:   Output #1: Type='table'
2026-01-23 18:01:23 - --- LookupTableManager: Marshalling Python Lookup Table to GoldSim ---
2026-01-23 18:01:23 - DEBUG:   Marshalling 2D Lookup Table.
2026-01-23 18:01:23 - DEBUG:   Output #2: Type='table'
2026-01-23 18:01:23 - --- LookupTableManager: Marshalling Python Lookup Table to GoldSim ---
2026-01-23 18:01:23 - DEBUG:   Marshalling 3D Lookup Table.
2026-01-23 18:01:23 - DEBUG:   3D Table dimensions: 3 rows, 2 cols, 4 layers
2026-01-23 18:01:23 - INFO: --- Calculation Cycle Complete ---
2026-01-23 18:01:23 - DEBUG: GSPy called with MethodID: 99
2026-01-23 18:01:23 - INFO: --- Finalizing Python Manager ---
2026-01-23 18:01:23 - INFO: Shutting down Python interpreter.
2026-01-23 18:01:24 - INFO: GSPy session finished successfully
